import 'package:flutter_nb_net/flutter_net.dart';

class OrderInfoResp extends BaseNetModel {
  int? code;
  String? msg;
  OrderInfoData? data;

  OrderInfoResp({this.data, this.code, this.msg});

  @override
  fromJson(Map<String, dynamic> json) {
    return OrderInfoResp(
      data: json['data'] == null ? null : OrderInfoData().fromJson(json['data']),
      code: json['code'],
      msg: json['msg'],
    );
  }
}

class OrderInfoData extends BaseNetModel {
  String? body;

  OrderInfoData({this.body});

  @override
  fromJson(Map<String, dynamic> json) {
    return OrderInfoData(
      body: json['body'],
    );
  }
}